<?php
/**
 * Enter description here ...
 * @author Micou13630
 *
 */
class HtmlFlow extends Canvas implements IRenderable {
	
	protected $allowCaching;
	protected $captureSCComponents;
	
	protected $contents;
	protected $contentsType;
	protected $contentsURL;
	protected $contentsURLParams;
	
	protected $dynamicContents;
	
	protected $loadingMessage;
	
	protected $evalScriptBlocks;
	
	protected $httpMethod;
	
	/**
	 * Constructeur
	 */
	public function HtmlFlow() {
		parent::Canvas();
	}
	
	/**
	 * Implementation de object
	 * @see IRenderable::object()
	 */
	public function object() {
		return 'HTMLFlow';
	}

	/**
	 * Implementation de properties
	 * @see IRenderable::properties()
	 */
	public function properties() {
		return parent::getProp($this);
	}

	/**
	 * Implementation de scLog
	 * @see IRenderable::scLog()
	 */
	public function scLog() {
		ScCollectionLog::getInstance()->addSc(new ScLog($this->object(), get_object_vars($this)));
	}
	
	/**
	 * Implementation de render
	 * @see IScreen::render()
	 */
	public function render() {
		$this->scLog();
		return "isc.".$this->object().".create({".$this->properties()."})";
	}
	
} 